]> dgit.raspbian.org Git - gnome-shell.git/commit
screencastService: Handle more gstreamer errors
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 28 Jan 2022 23:40:24 +0000 (00:40 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Tue, 25 Apr 2023 16:57:47 +0000 (18:57 +0200)
commit42af7e53a2aaa995840bb8cd9baf233feaac7c1f
treef378b2661b9b8414d4a52f36731c16cbfd5eaf2e
parentcbfbdc4be51ffdfaf722b10d3320fa394a054a5e
screencastService: Handle more gstreamer errors

Gstreamer can produce various errors, we shouldn't pretend those don't
exist and go on as usual when one happens. Instead, when an error
happens, tear down the pipeline, set our PipelineState to the new ERROR
state and bail out with a proper error message.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2197>
js/dbusServices/screencast/screencastService.js